package vip.youngboy.liquibasedemo.rest;

import org.springframework.http.MediaType;

/**
 * Media type for versioning
 */
public class MediaVersion {

    /**
     * Public constant media type for {@code application/vnd.ecidi.v1+json}.
     */
    public static final MediaType APPLICATION_JSON_V1;

    /**
     * A String equivalent of {@link MediaVersion#APPLICATION_JSON_V1}.
     */
    public static final String APPLICATION_JSON_V1_VALUE = "application/vnd.ecidi.v1+json";

    static {
        APPLICATION_JSON_V1 = MediaType.valueOf(APPLICATION_JSON_V1_VALUE);
    }

    private MediaVersion() {
    }
}
